package tianrun.ziguan.api.calculate.config.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import tianrun.ziguan.api.calculate.config.dto.request.AssetIndicatorsInstanceVO;
import tianrun.ziguan.api.calculate.config.entity.TAssetIndicatorsInstance;

import java.util.List;
import java.util.Set;

/**
 * @author zhaoqi
 */
public interface TAssetIndicatorsInstanceMapper extends BaseMapper<TAssetIndicatorsInstance> {

    List<AssetIndicatorsInstanceVO> queryInstanceList(@Param("calAssetIds") List<Long> calAssetIds, @Param("type") String type);

    List<AssetIndicatorsInstanceVO> listVOByCalAssetId(@Param("ids") Set<Long> ids);
}
